package com.jj.service.player;

import com.google.protobuf.GeneratedMessageV3;
import com.jj.message.battle.UserMessage;
import com.jj.service.entity.Entity;
import com.jj.service.room.Room;

/**
 * Copyrights: QidianGroup@JJ
 *
 * @author: LuHan
 * @date: 2018/1/15, 16:01
 */
public interface Player extends Entity{
    void send(UserMessage message);
    void send(GeneratedMessageV3 pbMessage);
    int getCharacterId();
    void setCharacterId(int characterId);
    Room getRoom();
    void setRoom(Room room);
}
